Public Class InstrumentLeg
Inherits Component

Private m_LegSymbol As String

<FieldInfo(GetType(LegSymbolFieldInfo), 0)> _
Public Property LegSymbol() As String
Get
Return m_LegSymbol
End Get
Set (value As String)
m_LegSymbol = value
End Set
End Property

Private m_LegSymbolSfx As String

<FieldInfo(GetType(LegSymbolSfxFieldInfo), 1)> _
Public Property LegSymbolSfx() As String
Get
Return m_LegSymbolSfx
End Get
Set (value As String)
m_LegSymbolSfx = value
End Set
End Property

Private m_LegSecurityID As String

<FieldInfo(GetType(LegSecurityIDFieldInfo), 2)> _
Public Property LegSecurityID() As String
Get
Return m_LegSecurityID
End Get
Set (value As String)
m_LegSecurityID = value
End Set
End Property

Private m_LegSecurityIDSource As String

<FieldInfo(GetType(LegSecurityIDSourceFieldInfo), 3)> _
Public Property LegSecurityIDSource() As String
Get
Return m_LegSecurityIDSource
End Get
Set (value As String)
m_LegSecurityIDSource = value
End Set
End Property

'Group: NoLegSecurityAltID
Private m_NoLegSecurityAltID As New List(Of NoLegSecurityAltIDGroup)

<FieldInfo(GetType(NoLegSecurityAltIDGroup), 4)> _
Public ReadOnly Property NoLegSecurityAltID As List(Of NoLegSecurityAltIDGroup)
Get
Return m_NoLegSecurityAltID
End Get
End Property

Public Class NoLegSecurityAltIDGroup
Inherits Group

Private m_LegSecurityAltID As String

<FieldInfo(GetType(LegSecurityAltIDFieldInfo), 0)> _
Public Property LegSecurityAltID() As String
Get
Return m_LegSecurityAltID
End Get
Set (value As String)
m_LegSecurityAltID = value
End Set
End Property

Private m_LegSecurityAltIDSource As String

<FieldInfo(GetType(LegSecurityAltIDSourceFieldInfo), 1)> _
Public Property LegSecurityAltIDSource() As String
Get
Return m_LegSecurityAltIDSource
End Get
Set (value As String)
m_LegSecurityAltIDSource = value
End Set
End Property


End Class



Private m_LegProduct As Int32

<FieldInfo(GetType(LegProductFieldInfo), 5)> _
Public Property LegProduct() As Int32
Get
Return m_LegProduct
End Get
Set (value As Int32)
m_LegProduct = value
End Set
End Property

Private m_LegCFICode As String

<FieldInfo(GetType(LegCFICodeFieldInfo), 6)> _
Public Property LegCFICode() As String
Get
Return m_LegCFICode
End Get
Set (value As String)
m_LegCFICode = value
End Set
End Property

Private m_LegSecurityType As String

<FieldInfo(GetType(LegSecurityTypeFieldInfo), 7)> _
Public Property LegSecurityType() As String
Get
Return m_LegSecurityType
End Get
Set (value As String)
m_LegSecurityType = value
End Set
End Property

Private m_LegSecuritySubType As String

<FieldInfo(GetType(LegSecuritySubTypeFieldInfo), 8)> _
Public Property LegSecuritySubType() As String
Get
Return m_LegSecuritySubType
End Get
Set (value As String)
m_LegSecuritySubType = value
End Set
End Property

Private m_LegMaturityMonthYear As DateTime

<FieldInfo(GetType(LegMaturityMonthYearFieldInfo), 9)> _
Public Property LegMaturityMonthYear() As DateTime
Get
Return m_LegMaturityMonthYear
End Get
Set (value As DateTime)
m_LegMaturityMonthYear = value
End Set
End Property

Private m_LegMaturityDate As DateTime

<FieldInfo(GetType(LegMaturityDateFieldInfo), 10)> _
Public Property LegMaturityDate() As DateTime
Get
Return m_LegMaturityDate
End Get
Set (value As DateTime)
m_LegMaturityDate = value
End Set
End Property

Private m_LegCouponPaymentDate As DateTime

<FieldInfo(GetType(LegCouponPaymentDateFieldInfo), 11)> _
Public Property LegCouponPaymentDate() As DateTime
Get
Return m_LegCouponPaymentDate
End Get
Set (value As DateTime)
m_LegCouponPaymentDate = value
End Set
End Property

Private m_LegIssueDate As DateTime

<FieldInfo(GetType(LegIssueDateFieldInfo), 12)> _
Public Property LegIssueDate() As DateTime
Get
Return m_LegIssueDate
End Get
Set (value As DateTime)
m_LegIssueDate = value
End Set
End Property

Private m_LegRepoCollateralSecurityType As Int32

<FieldInfo(GetType(LegRepoCollateralSecurityTypeFieldInfo), 13)> _
Public Property LegRepoCollateralSecurityType() As Int32
Get
Return m_LegRepoCollateralSecurityType
End Get
Set (value As Int32)
m_LegRepoCollateralSecurityType = value
End Set
End Property

Private m_LegRepurchaseTerm As Int32

<FieldInfo(GetType(LegRepurchaseTermFieldInfo), 14)> _
Public Property LegRepurchaseTerm() As Int32
Get
Return m_LegRepurchaseTerm
End Get
Set (value As Int32)
m_LegRepurchaseTerm = value
End Set
End Property

Private m_LegRepurchaseRate As Decimal

<FieldInfo(GetType(LegRepurchaseRateFieldInfo), 15)> _
Public Property LegRepurchaseRate() As Decimal
Get
Return m_LegRepurchaseRate
End Get
Set (value As Decimal)
m_LegRepurchaseRate = value
End Set
End Property

Private m_LegFactor As Decimal

<FieldInfo(GetType(LegFactorFieldInfo), 16)> _
Public Property LegFactor() As Decimal
Get
Return m_LegFactor
End Get
Set (value As Decimal)
m_LegFactor = value
End Set
End Property

Private m_LegCreditRating As String

<FieldInfo(GetType(LegCreditRatingFieldInfo), 17)> _
Public Property LegCreditRating() As String
Get
Return m_LegCreditRating
End Get
Set (value As String)
m_LegCreditRating = value
End Set
End Property

Private m_LegInstrRegistry As String

<FieldInfo(GetType(LegInstrRegistryFieldInfo), 18)> _
Public Property LegInstrRegistry() As String
Get
Return m_LegInstrRegistry
End Get
Set (value As String)
m_LegInstrRegistry = value
End Set
End Property

Private m_LegCountryOfIssue As String

<FieldInfo(GetType(LegCountryOfIssueFieldInfo), 19)> _
Public Property LegCountryOfIssue() As String
Get
Return m_LegCountryOfIssue
End Get
Set (value As String)
m_LegCountryOfIssue = value
End Set
End Property

Private m_LegStateOrProvinceOfIssue As String

<FieldInfo(GetType(LegStateOrProvinceOfIssueFieldInfo), 20)> _
Public Property LegStateOrProvinceOfIssue() As String
Get
Return m_LegStateOrProvinceOfIssue
End Get
Set (value As String)
m_LegStateOrProvinceOfIssue = value
End Set
End Property

Private m_LegLocaleOfIssue As String

<FieldInfo(GetType(LegLocaleOfIssueFieldInfo), 21)> _
Public Property LegLocaleOfIssue() As String
Get
Return m_LegLocaleOfIssue
End Get
Set (value As String)
m_LegLocaleOfIssue = value
End Set
End Property

Private m_LegRedemptionDate As DateTime

<FieldInfo(GetType(LegRedemptionDateFieldInfo), 22)> _
Public Property LegRedemptionDate() As DateTime
Get
Return m_LegRedemptionDate
End Get
Set (value As DateTime)
m_LegRedemptionDate = value
End Set
End Property

Private m_LegStrikePrice As Decimal

<FieldInfo(GetType(LegStrikePriceFieldInfo), 23)> _
Public Property LegStrikePrice() As Decimal
Get
Return m_LegStrikePrice
End Get
Set (value As Decimal)
m_LegStrikePrice = value
End Set
End Property

Private m_LegStrikeCurrency As String

<FieldInfo(GetType(LegStrikeCurrencyFieldInfo), 24)> _
Public Property LegStrikeCurrency() As String
Get
Return m_LegStrikeCurrency
End Get
Set (value As String)
m_LegStrikeCurrency = value
End Set
End Property

Private m_LegOptAttribute As Char

<FieldInfo(GetType(LegOptAttributeFieldInfo), 25)> _
Public Property LegOptAttribute() As Char
Get
Return m_LegOptAttribute
End Get
Set (value As Char)
m_LegOptAttribute = value
End Set
End Property

Private m_LegContractMultiplier As Decimal

<FieldInfo(GetType(LegContractMultiplierFieldInfo), 26)> _
Public Property LegContractMultiplier() As Decimal
Get
Return m_LegContractMultiplier
End Get
Set (value As Decimal)
m_LegContractMultiplier = value
End Set
End Property

Private m_LegCouponRate As Decimal

<FieldInfo(GetType(LegCouponRateFieldInfo), 27)> _
Public Property LegCouponRate() As Decimal
Get
Return m_LegCouponRate
End Get
Set (value As Decimal)
m_LegCouponRate = value
End Set
End Property

Private m_LegSecurityExchange As String

<FieldInfo(GetType(LegSecurityExchangeFieldInfo), 28)> _
Public Property LegSecurityExchange() As String
Get
Return m_LegSecurityExchange
End Get
Set (value As String)
m_LegSecurityExchange = value
End Set
End Property

Private m_LegIssuer As String

<FieldInfo(GetType(LegIssuerFieldInfo), 29)> _
Public Property LegIssuer() As String
Get
Return m_LegIssuer
End Get
Set (value As String)
m_LegIssuer = value
End Set
End Property

Private m_EncodedLegIssuerLen As Int32

<FieldInfo(GetType(EncodedLegIssuerLenFieldInfo), 30)> _
Public Property EncodedLegIssuerLen() As Int32
Get
Return m_EncodedLegIssuerLen
End Get
Set (value As Int32)
m_EncodedLegIssuerLen = value
End Set
End Property

Private m_EncodedLegIssuer As Byte()

<FieldInfo(GetType(EncodedLegIssuerFieldInfo), 31)> _
Public Property EncodedLegIssuer() As Byte()
Get
Return m_EncodedLegIssuer
End Get
Set (value As Byte())
m_EncodedLegIssuer = value
End Set
End Property

Private m_LegSecurityDesc As String

<FieldInfo(GetType(LegSecurityDescFieldInfo), 32)> _
Public Property LegSecurityDesc() As String
Get
Return m_LegSecurityDesc
End Get
Set (value As String)
m_LegSecurityDesc = value
End Set
End Property

Private m_EncodedLegSecurityDescLen As Int32

<FieldInfo(GetType(EncodedLegSecurityDescLenFieldInfo), 33)> _
Public Property EncodedLegSecurityDescLen() As Int32
Get
Return m_EncodedLegSecurityDescLen
End Get
Set (value As Int32)
m_EncodedLegSecurityDescLen = value
End Set
End Property

Private m_EncodedLegSecurityDesc As Byte()

<FieldInfo(GetType(EncodedLegSecurityDescFieldInfo), 34)> _
Public Property EncodedLegSecurityDesc() As Byte()
Get
Return m_EncodedLegSecurityDesc
End Get
Set (value As Byte())
m_EncodedLegSecurityDesc = value
End Set
End Property

Private m_LegRatioQty As Decimal

<FieldInfo(GetType(LegRatioQtyFieldInfo), 35)> _
Public Property LegRatioQty() As Decimal
Get
Return m_LegRatioQty
End Get
Set (value As Decimal)
m_LegRatioQty = value
End Set
End Property

Private m_LegSide As Char

<FieldInfo(GetType(LegSideFieldInfo), 36)> _
Public Property LegSide() As Char
Get
Return m_LegSide
End Get
Set (value As Char)
m_LegSide = value
End Set
End Property

Private m_LegCurrency As String

<FieldInfo(GetType(LegCurrencyFieldInfo), 37)> _
Public Property LegCurrency() As String
Get
Return m_LegCurrency
End Get
Set (value As String)
m_LegCurrency = value
End Set
End Property

Private m_LegPool As String

<FieldInfo(GetType(LegPoolFieldInfo), 38)> _
Public Property LegPool() As String
Get
Return m_LegPool
End Get
Set (value As String)
m_LegPool = value
End Set
End Property

Private m_LegDatedDate As DateTime

<FieldInfo(GetType(LegDatedDateFieldInfo), 39)> _
Public Property LegDatedDate() As DateTime
Get
Return m_LegDatedDate
End Get
Set (value As DateTime)
m_LegDatedDate = value
End Set
End Property

Private m_LegContractSettlMonth As DateTime

<FieldInfo(GetType(LegContractSettlMonthFieldInfo), 40)> _
Public Property LegContractSettlMonth() As DateTime
Get
Return m_LegContractSettlMonth
End Get
Set (value As DateTime)
m_LegContractSettlMonth = value
End Set
End Property

Private m_LegInterestAccrualDate As DateTime

<FieldInfo(GetType(LegInterestAccrualDateFieldInfo), 41)> _
Public Property LegInterestAccrualDate() As DateTime
Get
Return m_LegInterestAccrualDate
End Get
Set (value As DateTime)
m_LegInterestAccrualDate = value
End Set
End Property


End Class
